.common-card {
  border: none;
  border-radius: 0;
  box-shadow: none;

  &.flex {
    display: flex;
    flex-direction: column;

    .ant-card-body {
      flex: 1;
    }
  }

  .ant-card-head {
    min-height: fit-content;
    padding: 8px 8px 0;
    border: none;
    border-radius: 0;
    color: #181818;
    font-size: 12px;
    font-weight: 700;

    .ant-card-head-wrapper {
      .ant-card-head-title {
        display: flex;
        position: relative;
        align-items: center;
        min-height: 28px;
        padding: 0 12px;
        background: #f3f7fb;
        box-shadow: inset 0 1px 3px 0 rgb(0 0 0 / 20%);
        color: #181818;
        font-size: 14px;
        font-weight: 700;

        &::before {
          content: '';
          display: block;
          width: 16px;
          height: 16px;
          margin-right: 8px;
          // background-image: var(--pseudo-boe-bg-image);
          background-image: url('@/assets/svg/table-icon.svg');
          background-size: 100% 100%;
        }
      }

      .ant-card-extra {
        margin-left: 8px;

        .ant-picker {
          height: 28px;
        }
      }
    }
  }

  .ant-card-body {
    padding: 8px;
  }
}

.form-search-tree-select {
  min-width: 200px !important;
}

.ant-select-dropdown {
  .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
    // 覆盖集成到门户中，字体变白色的样式
    color: rgb(0 0 0 / 88%);
  }
}

// 嵌入厂务平台后，样式被干扰，导致message居左显示了，这里重写下
.ant-message {
  left: 50%;
  transform: translateX(-50%);
}
